import request from '@/utils/request';
export const uploadDocument = (file, filename) => {

  return request.uploadFile(url = '', { file }, filename).then(response => {
    return response;
  }).catch(error => {
    console.error('文件上传失败', error);
  });
};
// 获取月报数据
export function getMonthReportApi() {
  return request({
    url: '/word/yuebao',
    method: 'get'
  })
}
